<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{% extends "learning_logs/base.html" %}

{% block content %}

  <p>Topics</p>

  <ul>
    {% for topic in topics %}
      <li>
      <h1><a href="{% url 'learning_logs:topic' topic.id %}">{{ topic }}</a></h1>
	  </li>
    {% empty %}
      <li>No topics have been added yet.</li>
    {% endfor %}
  </ul>
   <h1><a href="{% url 'learning_logs:new_topic' %}">Add a new topic</a></h1>

{% endblock content %}




</body>
</html>